﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="true" CodeFile="UploadPictures.aspx.cs" Inherits="Pictures_UploadPictures" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
    <asp:FileUpload ID="FileUpload1" runat="server" Text="vvfvfd" />
    &nbsp;
    <asp:Button ID="btnUpload" runat="server" Text="Качи Картинката" 
        onclick="btnUpload_Click"/>
    
    <br />
    
    <br />
   
    Описание:
    &nbsp;&nbsp;<asp:TextBox ID="txtMemo" runat="server" Width="230px"></asp:TextBox>
    <br />
    Категория:
    <asp:DropDownList ID="cmbCategory" runat="server" 
        DataSourceID="sdsCategories" DataTextField="Title" 
        DataValueField="CategoryID" Width="243px">
    </asp:DropDownList>
    <asp:SqlDataSource ID="sdsCategories" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ClinicConnectionString %>" 
        SelectCommand="SELECT [CategoryID], [Title], [Description] FROM [Category]">
    </asp:SqlDataSource>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
   <asp:Label ID="lblUploadMessage" runat="server" />
   <br />
   
</asp:Content>

